package StudyCode.summary.mycollection;

import java.util.Arrays;
import java.util.Iterator;
import java.util.List;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CreateListFromObjectArray {
	public static void main(String[] args) {
		String[] strArray = new String[]{"Object", "Array", "Converted", "To", "List", "www.tah1986.com"};
		List list = Arrays.asList(strArray);

		Iterator itr = list.iterator();

		while (itr.hasNext()) {
			System.out.println(itr.next());
		}
	}
}
